﻿using System;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 消息基类
/// </summary>
public class Cmd
{

}

// C->S

public class LoginCmd : Cmd
{
    public string Account;
    public string Password;

}
// S->C
public class RoleListCmd : Cmd
{
    public List<SelectRoleInfo> AllRole = new List<SelectRoleInfo>();

}

// 选择角色C-->S
public class SelectRoleCmd : Cmd
{
    // 角色索引
    public int Index;
}

//模型 选人界面角色结构
public class SelectRoleInfo
{
    public string Name;
    public int ModelID;//模型资源路径
}

public class MainRoleThisidCmd : Cmd
{
    public int ThisID;
}

public class EnterMapCmd : Cmd
{
    public int MapID;
}


public class CreateSceneRole : Cmd
{
    public int ThisID;//
    public string Name;
    public int ModelID;

    public Vector3 pos;
    public Vector2 pos2d;

    public Vector3 FaceTo;



}